package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 场地管理对象 court
 * 
 * @author guiye
 * @date 2023-08-12
 */
public class Court extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 场地ID */
    private Long courtId;

    /** 球馆名称 */
    @Excel(name = "球馆名称")
    private Long stadiumId;

    /** 球场类型 */
    @Excel(name = "球场类型")
    private Long courtTypeId;

    /** 球场名称 */
    @Excel(name = "球场名称")
    private String courtName;

    /** 可容纳人数 */
    @Excel(name = "可容纳人数")
    private String capacity;

    /** 场地状态 */
    @Excel(name = "场地状态")
    private Long courtStatus;

    public void setCourtId(Long courtId) 
    {
        this.courtId = courtId;
    }

    public Long getCourtId() 
    {
        return courtId;
    }
    public void setStadiumId(Long stadiumId) 
    {
        this.stadiumId = stadiumId;
    }

    public Long getStadiumId() 
    {
        return stadiumId;
    }
    public void setCourtTypeId(Long courtTypeId) 
    {
        this.courtTypeId = courtTypeId;
    }

    public Long getCourtTypeId() 
    {
        return courtTypeId;
    }
    public void setCourtName(String courtName) 
    {
        this.courtName = courtName;
    }

    public String getCourtName() 
    {
        return courtName;
    }
    public void setCapacity(String capacity) 
    {
        this.capacity = capacity;
    }

    public String getCapacity() 
    {
        return capacity;
    }
    public void setCourtStatus(Long courtStatus) 
    {
        this.courtStatus = courtStatus;
    }

    public Long getCourtStatus() 
    {
        return courtStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courtId", getCourtId())
            .append("stadiumId", getStadiumId())
            .append("courtTypeId", getCourtTypeId())
            .append("courtName", getCourtName())
            .append("capacity", getCapacity())
            .append("courtStatus", getCourtStatus())
            .toString();
    }
}
